Skip to main content

autohilight

Type

property

Summary

Specifies whether a PowerButton widget highlights when it's pressed.

Syntax

set the autoHilight of widget to {true | false}

Description

Use the autoHilite property to give visual feedback to users when they click a PowerButton widget. If a PowerButton widget's autoHilite property is true, clicking it changes its appearance. This provides visual feedback to the user. The PowerButton remains highlighted while the mouse is within it and the mouse button is down. If the user moves the mouse outside the widget while keeping the mouse button depressed, the widget becomes unhighlighted. If the user then moves the mouse back over the widget, the widget becomes highlighted again. While the PowerButton is highlighted, its hilite property is also set to true. If the PowerButton's isToggle property is true, clicking it switches its hilite property value.

Examples

set the autoHilight of widget "Power button" to true

Compatibility and Support

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile